package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 环境配置对象 training_enviroment
 * 
 * @author rocc
 * @date 2025-06-12
 */
public class TrainingEnviroment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 镜像名称 */
    @Excel(name = "镜像名称")
    private Long imageId;

    /** 环境名称 */
    @Excel(name = "环境名称")
    private String name;

    /** CPU核心数 */
    @Excel(name = "CPU核心数")
    private Long cpuNums;

    /** 内存 */
    @Excel(name = "内存")
    private Long memoryNums;

    /** 磁盘 */
    @Excel(name = "磁盘")
    private Long diskNums;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCpuNums(Long cpuNums) 
    {
        this.cpuNums = cpuNums;
    }

    public Long getCpuNums() 
    {
        return cpuNums;
    }

    public void setMemoryNums(Long memoryNums) 
    {
        this.memoryNums = memoryNums;
    }

    public Long getMemoryNums() 
    {
        return memoryNums;
    }

    public void setDiskNums(Long diskNums) 
    {
        this.diskNums = diskNums;
    }

    public Long getDiskNums() 
    {
        return diskNums;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageId", getImageId())
            .append("name", getName())
            .append("cpuNums", getCpuNums())
            .append("memoryNums", getMemoryNums())
            .append("diskNums", getDiskNums())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
